detailed workflow